package com.powernode.mapper;

import com.powernode.domain.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsMapper {

    List<Goods> selectSeckillGoods();

    Goods selectByPrimaryKey(@Param("goodsId") int goodsId);

    int updateByPrimaryKey(Goods goods);

    int updateStock(@Param("goodsId") int goodsId);
}
